﻿using OnlineOpinionAnalysis.Shared.Models;

namespace OnlineOpinionAnalysis.Server.Services
{
    public interface IBiliVideoService
    {
        /// <summary>
        /// 获取信息视频总数
        /// </summary>
        /// <returns></returns>
        public Task<int> GetVideoCount();
        /// <summary>
        /// 获取一定量的视频
        /// </summary>
        /// <param name="number"></param>
        /// <returns></returns>
        public Task<List<BiliVideo>> GetVideo(int number = 100);
        /// <summary>
        /// 根据分区Tid获取视频
        /// </summary>
        /// <param name="tid"></param>
        /// <param name="number"></param>
        /// <returns></returns>
        public Task<List<BiliVideo>> GetVideoByTid(int tid,int number=100);
        /// <summary>
        /// 按时间限制获取视频
        /// </summary>
        /// <param name="StartTime"></param>
        /// <param name="EndTime"></param>
        /// <param name="number"></param>
        /// <returns></returns>
        public Task<List<BiliVideo>> GetVideoByTime(DateTime StartTime,DateTime EndTime,int number=100);
    }
}
